import request from '@/utils/request'



export function flowConfigurationList(data) { //流程配置-列表
  return request({
    url: '/maintenance-management/api/process/config/page',
    method: 'post',
    data
  })
}
export function flowConfigurationListAll(data) { //流程配置-列表
  return request({
    url: '/maintenance-management/api/process/config/all',
    method: 'post',
    data
  })
}


export function flowConfigurationAdd(data) { //流程配置-新增
  return request({
    url: '/maintenance-management/api/process/config/add',
    method: 'post',
    data
  })
}

//原 put
export function flowConfigurationEdit(data) { //流程配置-编辑
  return request({
    url: '/maintenance-management/api/process/config/edit',
    method: 'post',
    data
  })
}

//原 del
export function flowConfigurationDelete(id) { //流程配置-删除
  return request({
    url: '/maintenance-management/api/process/config/del/' + id,
    method: 'get',
  })
}


export function flowConfigurationDetails(id) { //流程配置-详情
  return request({
    url: '/maintenance-management/api/process/config/' + id,
    method: 'get',
  })
}
